package com.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@TableName("tb_order")
public class OrderEntity {

    private long orderId;
    private long memberId;
    private Date orderTime;
    /**
     * 下单商品数量
     */
    private Integer orderNum;

    /**
     * 商品价格
     */
    private BigDecimal orderAmount;

    /**
     * 商品id
     */
    private Long goodsId;
}
